package com.example.pattern.decorator;

/**
 * 装饰
 *
 * @author FM_南风
 * @date 2024/7/2 13:17
 */
public class CarDecorator implements Car{
    protected Car decoratedCar;

    public CarDecorator(Car decoratedCar) {
        this.decoratedCar = decoratedCar;
    }

    public void assemble() {
        this.decoratedCar.assemble();
    }
}
